package com.holly.unit.deform.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.holly.unit.db.api.pojo.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 类描述: 表单设计器 路由表
 *
 * @author fxr
 * @version 1.0.0
 * @date 2022/4/7 10:33
 */
@Data
@TableName("design_form_route")
@EqualsAndHashCode(callSuper = false)
public class DesignFormRoute extends BaseEntity {

    /**状态（0=无效，1=有效）*/
    @ExcelProperty(value = {"状态（0=无效，1=有效）"}, index = 4)
    @TableField("STATUS")
    private Integer status;
    /**下一步路由地址（表单跳转时填表单的code；菜单跳转填菜单路径；外部跳转填全链接）*/
    @ExcelProperty(value = {"下一步路由地址（表单跳转时填表单的code；菜单跳转填菜单路径；外部跳转填全链接）"}, index = 5)
    @TableField("ROUTE_PATH")
    private String routePath;
    /**路由跳转类型（1=表单跳转；2=菜单跳转；3=外部跳转）*/
    @ExcelProperty(value = {"路由跳转类型（1=表单跳转；2=菜单跳转；3=外部跳转）"}, index = 6)
    @TableField("ROUTE_TYPE")
    private String routeType;
    /**路由名称*/
    @ExcelProperty(value = {"路由名称"}, index = 7)
    @TableField("ROUTE_NAME")
    private String routeName;
    /**表单设计编码*/
    @ExcelProperty(value = {"表单设计编码"}, index = 8)
    @TableField("DESFORM_CODE")
    private String desformCode;
    /**表单设计ID*/
    @ExcelProperty(value = {"表单设计ID"}, index = 9)
    @TableField("DESFORM_ID")
    private String desformId;
    /**ID*/
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

}
